cmake_minimum_required(VERSION 3.6.0)

project("soundtouch")

set(SOUNDTOUCH ${CMAKE_SOURCE_DIR}/soundtouch)

include_directories(${SOUNDTOUCH}/include)
file(GLOB soundtouch_files ${SOUNDTOUCH}/*.cpp)

add_library(
        soundtouch
        SHARED

        ${soundtouch_files}
        soundtouch.cpp)

find_library(
        log-lib
        log)

target_link_libraries(
        soundtouch
        ${log-lib})